package com.gitee.ipo.system.entity.search;

import com.frameworkset.orm.annotation.ESId;
import lombok.Data;
import org.frameworkset.elasticsearch.entity.ESBaseData;

import java.util.Date;

@Data
public class IpoDocInfoSearch extends ESBaseData {

    private String doc_id;

    private String secCodeStr;

    private String secCode;

    private String secName;

    private String title;

    private String area_id;

    private Date pubdate;

    private String pubdateStr;

    private String localpath;

    private String content;

    private String digest;

    /**
     * 股票数量
     */
    private Integer stockNum;

    private long size;

    /**
     * 是否收藏
     */
    private Boolean star = false;


    public IpoDocInfoSearch() {

    }

    public IpoDocInfoSearch(String doc_id,String secCode, String secName, String title, String area_id, Date pubdate, String localpath) {
        this.doc_id = doc_id;
        this.secCode = secCode;
        this.secName = secName;
        this.title = title;
        this.area_id = area_id;
        this.pubdate = pubdate;
        this.localpath = localpath;
    }
}
